package com.huangliusong.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;


import java.util.Properties;

/**
 * @author huangliusong
 * @since 2018/10/4
 * {@link }
 */
@Controller
public class PropertiesRestController  {

    @PostMapping(value = "/add/pops"
            ,consumes = "text/properties;charset=UTF-8")
    public Properties addProperties( Properties properties){
        System.err.println(properties);
        return properties;
    }

}
